settings.outformat = "pdf";
size(5cm, 0);
draw((0, 0)--(0, 1) ^^ (1, 0)..(3 / 2, 1)..(2, 0) ^^(3, 0)--(4, 1));